export default {
  'http': {
    port: 3000
  },
  'mysql': {
    // 服务器地址
    host: '127.0.0.1',
    // 端口
    port: 3306,
    // 数据库编码默认采用utf8/utf8mb4
    charset: 'utf8mb4',
    // 数据库名
    database: 'book',
    // 用户名
    user: 'root',
    // 密码
    password: '123456',
    connectTimeout: 10000,
    supportBigNumbers: true,
    bigNumberStrings: true,
    // 同时使用多条查询语句
    multipleStatements: true,
    // https://stackoverflow.com/questions/71949351/how-to-use-named-parameters-in-node-mysql2-prepared-statements
    namedPlaceholders: true,
    waitForConnections: true,
    connectionLimit: 16,
    queueLimit: 0
  },
  'redis': {
    'username': 'root',
    'password': '123456',
    'port': 3306
  },
  'database': {
    'username': 'root',
    'password': '123456',
    'port': 3306
  },
  'other': {
    'a': {
      'b': {
        'c': 'hello world : other.a.b.c',
        'd': 'hello world : other.a.b.d'
      }
    }
  },
  'profile': 'dev'
}
